#include <iostream>
#include <map>
using namespace std;
int main(){
    map<char,int>map1;
    map1['x'] = 1001;
    map1['y'] = 2002;
    map1['z'] = 3003;
    pair<char,int>highest = *map1.rbegin();
    map<char,int>::iterator it = map1.begin();
    do{
        cout<<it->first<<" ==> "<<it->second<<"\n";
    }while(map1.value_comp()(*it++,highest));
    return 0;
}